import java.util.Arrays;
public class Test7{
    public static void main(String[] args) {
        int[] a = {12,62,53,74,8};
        for (int i=0;i<a.length;i++){
            System.out.println(a[i]);
        }
        System.out.println("排序后");
        Arrays.sort(a,1,3);
        for (int i=0;i<a.length;i++){
            System.out.println(a[i]);
        }
        
    }
}